package com.taxer.service.impl;

import com.taxer.service.ProvinceService;
import org.springframework.stereotype.Service;
import com.taxer.db.dao.ProvinceMapper;

import javax.annotation.Resource;
import com.taxer.db.entity.Province;

import java.util.List;

@Service("provinceService")
public class ProvinceServiceImpl implements ProvinceService{
    @Resource
    private ProvinceMapper provinceMapper;
    @Override
    public List<Province> getParentByParId(Byte parent_id)  {
        List<Province> result= provinceMapper.selectByPrimaryKey(parent_id);
        return result;
    }
}
